package com.shuoren.roomtemperaturecloud.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.shuoren.roomtemperaturecloud.repository.FeedbackRepository;

/**
 * @Author: Yann
 * @Date: 2019/1/10 13:22
 */
@Service
public class FeedbackService {
	
	@Autowired
	private FeedbackRepository feedbackRepository;
	
	public Boolean saveFeedback(String userid,String context) {
		return feedbackRepository.saveFeedback(userid, context);
	}
}
